/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import io.netty.buffer.ByteBuf;
/*    */ import net.minecraft.entity.player.EntityPlayerMP;
/*    */ import net.minecraft.util.math.BlockPos;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;
/*    */ import org.apache.logging.log4j.Level;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class dw
/*    */   implements IMessage
/*    */ {
/*    */   private BlockPos g;
/*    */   
/*    */   public dw() {}
/*    */   
/*    */   public dw(BlockPos blockPos) {
/* 25 */     this.g = blockPos;
/*    */   }
/*    */ 
/*    */   
/*    */   public void fromBytes(ByteBuf byteBuf) {
/* 30 */     this.g = BlockPos.func_177969_a(byteBuf.readLong());
/*    */   }
/*    */ 
/*    */   
/*    */   public void toBytes(ByteBuf byteBuf) {
/* 35 */     byteBuf.writeLong(this.g.func_177986_g());
/*    */   }
/*    */ 
/*    */   
/*    */   public static class eos/moe/dragoncore/sz
/*    */     implements IMessageHandler<dw, IMessage>
/*    */   {
/*    */     public IMessage onMessage(dw dw1, MessageContext messageContext) {
/* 43 */       EntityPlayerMP entityPlayerMP = (messageContext.getServerHandler()).field_147369_b;
/* 44 */       qz.v(Level.TRACE, entityPlayerMP.func_70005_c_() + " requested tileEntity at " + dw.v(dw1).func_177958_n() + ", " + dw.v(dw1).func_177956_o() + ", " + dw.v(dw1).func_177952_p());
/* 45 */       qz.m.v(entityPlayerMP, dw.v(dw1));
/* 46 */       return null;
/*    */     }
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\dw.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */